package lab04.test04;

public class PrintThread extends Thread {

    @Override
    public void run() {

        //完成技术功能即向控制台依次输出5,4,3,2,1
/*        int i;
        while (i>=1){
            System.out.println(i);
            i--;
        }
*/
        for (int i = 5; i >= 1; i--) {
            System.out.println(i);
        }
    }
}
